/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-7-14 下午4:53 Created by piaohh
 */
package com.jade.bss.beacon.apply;

import java.util.List;

import com.jade.framework.base.criterion.Criteria;
import com.jade.framework.base.util.PagingList;

/**
 *
 * @author <a href="mailto:Administrator@ceno.cn">piaohh</a>
 * @version 1.0 15-7-14 下午4:53
 */
public interface ApplyDao
{
    Apply get(long id);

    void add(Apply apply);

    PagingList<Apply> query(Criteria criteria);

    void update(long applyId, int status, String comment);

    List<Apply> list(Criteria criteria);
}
